home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
formlet
/
formgen
/
list.doc
< prev
next >
Wrap
Text File
|
1987-05-07
|
41KB
|
1,021 lines
LIST Version 6.2a
(c) Copyright Vernon D. Buerg 1987
All rights reserved
May 7, 1987
Table of Contents
-----------------
Description of use ............... 1
Keys and commands ................ 3
Function keys .................. 4
Alt- keys ...................... 5
Positioning to lines ............. 6
Displaying multiple files ........ 6
Extracting/marking lines ......... 7
Display format ................... 8
Status line .................... 8
Command line ................... 9
Screen colors .................... 10
Cloning procedure ................ 11
DEBUG information .............. 12
Searching for text................ 13
Filtering ........................ 14
Exotic functions ................. 15
File sharing ................... 15
Invoking DOS commands .......... 15
Screen saving .................. 15
Restrictions ..................... 16
LIST Page 1
Description of Use
------------------
Command LIST
-------------
Purpose:
You use LIST to display files on your monitor, line by line
with the aid of scrolling, positioning and filtering commands.
Format:
LIST [d:][path]filename[.ext]
Remarks:
You may rename the program file to any convenient name, such
as L.COM, READ.COM, or LIST.COM.
Using LIST is fairly straight forward. You type the command
LIST at the DOS prompt, followed by the name of the file that
you want to see. For example: LIST CONFIG.SYS would display the
file CONFIG.SYS.
Once the file is displayed on your screen, you may use the
cursor positioning keys to move around and see different parts
of the file. For example, when LIST first starts, you see the
first 23 lines of the file. To see the next 23 lines, or page,
press the PgDn key. The PgUp key moves you back one page and
shows you the previous 23 lines. The up-arrow and down-arrow
keys move it one line at a time. When you are finished, press
the ESCape key and you are returned to the DOS prompt.
The "filename" is optional. If omitted, you are prompted to
enter a filename. You may include drive, path, and wild
cards in the file name. The first file which matches that name
is displayed. After the file is displayed, the next file which
matches the "filename" may be displayed, too.
You may also use LIST to display piped or redirected files.
If you are unfamiliar with these, you may skip to the next page.
To display a redirected file, use a < (less than symbol) before
the name of the file and add the /S parameter to the LIST
command. For example:
dir a: >xyz
list <xyz /s
To display a piped file, omit the filename, but supply the /S.
dir a: | list /s
Or, to LIST a file within an ARC archive:
arc /p arcname.arc filename.ext | list /s
- or -
arce arcname filename.ext /p | list /S
LIST Page 2
Description of Use (cont'd)
------------------
Because files contain different kinds of data, there are
several commands to tell LIST how to display the data. The
process that LIST uses to make the file data readable is called
filtering. The filters in LIST can:
o replace non-text and control characters with blanks
o expand TAB characters
o display line drawing characters
o change 8-bit (W*) data to readable 7-bit text
o display the hexidecimal values for each character
o remove "junk", such as control codes and backspaces
LIST was designed to display ASCII files. That is, files
which contain text, and not binary or control codes. Text
characters usually range from a value of 32 to 127. To view
binary files (COM, EXE, etc), the alt-H (hex dump display)
command is available.
Characters below 32 (a blank) are replaced with a funny
character to indicate that a non-displayable character has been
encountered. This character is an upside-down question mark.
Characters above 127 may be valid graphic characters, and may be
displayed if the '8' command is in effect. To insure that
characters above ASCII value 127 are not displayed, use the '7'
command.
The top line of the display gives the file name, current
right scroll offset, and the FILE's creation date and time.
Optionally, a ruler may be displayed on the top line by using
the alt-R keys.
The file is displayed with one logical record on each
80-column display line. A logical record ends in a linefeed.
The maximum logical record may be 256 characters long. If the
record exceeds 80 characters, you may view the portion beyond
the 80 columns by using the scroll right command, or by using
the Wrap feature. The Wrap command toggles ON or OFF the
wrapping of lines longer than 80 characters. With Wrap on,
lines are displayed in their entirety, 80 characters per display
line. The scroll -left and -right functions are disabled when
Wrap is ON.
The file may be PRINTed as it it displayed. The P command
toggles the printer on or off. When first entered, the P
command causes the current screen to be printed. As new lines
are displayed, they too are printed. Printing may be stopped by
entering another P command. The PrtSc key may also be used, but
the title and prompt lines will be printed with the lines of the
file. Empty lines cause a line to be skipped on the printer.
| The letter P is displayed on the bottom command line while
| printing. See the section on extracting lines for other methods.
LIST Page 3
Commands and Keys
-----------------
Control key Function
----------- -----------------------------------------------
| left arrow scroll left 10 columns
| right arrow scroll right 10 columns
up arrow up one (previous) line
down arrow down one (next) line
Enter continue to next page
END position to end of file (bottom)
| ESCape Exit program unconditionally
HOME restart from first line (top)
PgUp scroll up one page, 23 lines
PgDn scroll down one page, 23 lines
Letter(s) Default Function
--------- ------- ----------------------------------------
A find next occurance of 'text' (Again)
B skip to end of file (Bottom)
C off toggles Closing of files, also alt-S
D scroll Down one